Kanzi  3.9.7
Android framework API
KanziRuntime.Reference Class Reference

Manages the lifetime of the KanziRuntime in one process. More...

Inheritance diagram for KanziRuntime.Reference:
[legend]

Public Member Functions

void close ()
 Releases this Reference to the KanziRuntime.
 
KanziRuntime get ()
 Returns the KanziRuntime instance that this Reference owns. More...
 

Protected Attributes

Graveyard.PhantomRef mPhantomRef
 

Detailed Description

Manages the lifetime of the KanziRuntime in one process.

Each instance holds a Reference to the KanziRuntime. When an application releases or closes all References, Kanzi unloads KanziRuntime from memory.

Member Function Documentation

KanziRuntime get ( )

Returns the KanziRuntime instance that this Reference owns.

Returns
The KanziRuntime instance that this Reference owns.